import React from 'react';
import { BrowserRouter as Router, Route, Link } from 'react-router-dom';

import Search from './Search';
import Detail from './Detail';
import Member from './Member';
const BasicRouter = () => (
  <Router>
    <div>
      <Route exact path="/" component={Search} />
      <Route exact path="/detail" component={Detail} />
      <Route exact path="/member" component={Member} />
    </div>
  </Router>
);
export default BasicRouter;
